package com.ycd.gis.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ycd.common.annotation.Excel;
import com.ycd.common.core.domain.BaseEntity;

/**
 * 系统接口对象 gis_api
 * 
 * @author ruoyi
 * @date 2021-12-20
 */
public class GisApi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 接口名 */
    @Excel(name = "接口名")
    private String name;

    /** 图层名称 */
    @Excel(name = "图层名称")
    private String layers;

    /** 接口连接 */
    @Excel(name = "接口连接")
    private String url;

    /** 删除时间 */
    private Date deleteTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLayers(String layers) 
    {
        this.layers = layers;
    }

    public String getLayers() 
    {
        return layers;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("layers", getLayers())
            .append("url", getUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
